package com.douyin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.douyin.entity.File;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

@Mapper

public interface FileMapper extends BaseMapper<File> {

    @Select("select * from file where id = #{id}")
    File queryById(Long id);
}
